qt6-base.git
5 months agoMerge version 6.10.2+dfsg-6+rpi1 and 6.10.2+dfsg-7 to produce 6.10.2+dfsg-7+rpi1 archive/raspbian/6.10.2+dfsg-7+rpi1 raspbian/6.10.2+dfsg-7+rpi1
Raspbian automatic forward porter [Thu, 16 Apr 2026 19:32:33 +0000 (20:32 +0100)]
Merge version 6.10.2+dfsg-6+rpi1 and 6.10.2+dfsg-7 to produce 6.10.2+dfsg-7+rpi1

5 months agoMerge qt6-base (6.10.2+dfsg-7) import into refs/heads/workingbranch
Patrick Franz [Sat, 11 Apr 2026 10:46:07 +0000 (12:46 +0200)]
Merge qt6-base (6.10.2+dfsg-7) import into refs/heads/workingbranch

5 months agoEnable skipping plugins search at build time.
Lisandro Damián Nicanor Pérez Meyer [Sat, 11 Apr 2026 10:46:07 +0000 (12:46 +0200)]
Enable skipping plugins search at build time.

Forwarded: not-needed

This patch sets
QT_SKIP_AUTO_PLUGIN_INCLUSION and QT_SKIP_AUTO_QML_PLUGIN_INCLUSION to ON
by default, thus avoiding unnecesary build dependencies on plugins.

The variables can still be set to OFF by the user at build time, allowing
them to find the packages if necessary. But if you need so for a Debian
package please reach the Qt maintainers first. We want to know why you
need to do so. Thanks in advance!

Gbp-Pq: Name enable_skip_plugins.patch

5 months agoChange how stack grows on HPPA.
John David Anglin [Sat, 11 Apr 2026 10:46:07 +0000 (12:46 +0200)]
Change how stack grows on HPPA.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28

On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.

Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch

5 months agoremove RPATH/RUNPATH from examples' binaries.
Lisandro Damián Nicanor Pérez Meyer [Sat, 11 Apr 2026 10:46:07 +0000 (12:46 +0200)]
remove RPATH/RUNPATH from examples' binaries.

Forwarded: not-needed
Last-Update: 2024-02-15

On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.

Gbp-Pq: Name remove_rpath_from_examples.patch

5 months agocross2
Debian Qt/KDE Maintainers [Sat, 11 Apr 2026 10:46:07 +0000 (12:46 +0200)]
cross2

Gbp-Pq: Name cross2.patch

5 months agocross
Debian Qt/KDE Maintainers [Sat, 11 Apr 2026 10:46:07 +0000 (12:46 +0200)]
cross

Gbp-Pq: Name cross.patch

5 months ago[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.

The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.

https://reproducible-builds.org/docs/build-path/

Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch

5 months agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Sat, 11 Apr 2026 10:46:07 +0000 (12:46 +0200)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

5 months agoAdd SH description
John Paul Adrian Glaubitz [Sat, 11 Apr 2026 10:46:07 +0000 (12:46 +0200)]
Add SH description

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.

SH is working on Debian, so as an intermediate measure re enable it here.

Gbp-Pq: Name Add-SH-detection.patch

5 months ago[PATCH] rhi: vulkan: Fix unintentional SDR format selection
Joshua Goins [Tue, 10 Feb 2026 15:30:00 +0000 (10:30 -0500)]
[PATCH] rhi: vulkan: Fix unintentional SDR format selection

I needed to read back the swapchain image for my Vulkan RHI-enabled
QtQuick application, but it complained that
VK_FORMAT_A2R10G10B10_UNORM_PACK32 wasn't able to be read back - why?

My initial naive solution is to simply add it to the
swapchainReadbackTextureFormat function - but that wouldn't work as
there is no BGR10A2 RHI texture format and applications would unkowingly
end up with swapped channels. The actual problem came down to how we
were selecting swapchain image formats.

The first thing I changed was the hdrFormatMatchesVkSurfaceFormat
function, because that checked two formats for HDR10:
VK_FORMAT_A2B10G10R10_UNORM_PACK32 and
VK_FORMAT_A2R10G10B10_UNORM_PACK32. Checking the online Vulkan hardware
database, the BGR variant is more well-supported. Picking the RGB
variant is inevitably going to lead into the problem described before -
and should be added back when & if a new RHI texture format is
introduced.

The next thing I changed was the swapchain format selection logic,
specifically the choice for a non-sRGB SDR format. Judging by the
comments in this function and other RHIs like DX12 we *want* the default
color format of VK_FORMAT_B8G8R8A8_UNORM unless otherwise requested.
That isn't what was happening though, on my specific hardware it was
choosing VK_FORMAT_A2R10G10B10_UNORM_PACK32 - why?

It comes down to the isSrgbFormat check in the loop. Again, for the
non-SRGB SDR case the "srgbRequested" variable is always false. And when
a non-SRGB format (like the aforementioned problematic VkFormat) is
checked isSrgbFormat will return false, but I don't think that's what is
intended here. We want that for the sRGB case, but for non-SRGB SDR the
default color format is fine and that lines up with other RHIs
(see QD3D12SwapChain::chooseFormats for an example.) I checked this
inside the loop so the passthrough code is still ran on Wayland, but I
think the new logic is still sensible.

I tested this against the five usual cases I could think of and now the
format selection seems sensible:
* non-sRGB SDR chose VK_FORMAT_B8G8R8A8_UNORM
* sRGB SDR chose VK_FORMAT_R8G8B8A8_SRGB
* extended sRGB Linear chose VK_FORMAT_R16G16B16A16_SFLOAT
* HDR10 chose VK_FORMAT_A2B10G10R10_UNORM_PACK32
* Display P3 chose VK_FORMAT_R16G16B16A16_SFLOAT

Change-Id: Ie79e9fcaa1130311958b485af9b73c59d5d9a335
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
(cherry picked from commit 2dd1aa3678d541aef15b564b4013728ed5b0387b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit f4c5e54a8703944ec7ea005ad4de3072b86fd61f)

Gbp-Pq: Name upstream_hdr_vulkan.diff

5 months agoqt6-base (6.10.2+dfsg-7) unstable; urgency=medium
Patrick Franz [Sat, 11 Apr 2026 10:46:07 +0000 (12:46 +0200)]
qt6-base (6.10.2+dfsg-7) unstable; urgency=medium

  [ Patrick Franz ]
  * Add patch to fix FTCBFS for missing qt-android-runner.py, thanks to
    Helmut Grohne (Closes: #1127020).
  * Add Breaks+Replaces for several packages against qt6-wayland
    (Closes: #1133204).

[dgit import unpatched qt6-base 6.10.2+dfsg-7]

5 months agoImport qt6-base_6.10.2+dfsg-7.debian.tar.xz
Patrick Franz [Sat, 11 Apr 2026 10:46:07 +0000 (12:46 +0200)]
Import qt6-base_6.10.2+dfsg-7.debian.tar.xz

[dgit import tarball qt6-base 6.10.2+dfsg-7 qt6-base_6.10.2+dfsg-7.debian.tar.xz]

5 months agoMerge version 6.9.2+dfsg-4+rpi1 and 6.10.2+dfsg-6 to produce 6.10.2+dfsg-6+rpi1 archive/raspbian/6.10.2+dfsg-6+rpi1 raspbian/6.10.2+dfsg-6+rpi1
Raspbian automatic forward porter [Fri, 3 Apr 2026 09:35:08 +0000 (10:35 +0100)]
Merge version 6.9.2+dfsg-4+rpi1 and 6.10.2+dfsg-6 to produce 6.10.2+dfsg-6+rpi1

5 months agoMerge qt6-base (6.10.2+dfsg-6) import into refs/heads/workingbranch
Patrick Franz [Sun, 22 Mar 2026 19:00:57 +0000 (20:00 +0100)]
Merge qt6-base (6.10.2+dfsg-6) import into refs/heads/workingbranch

5 months agoEnable skipping plugins search at build time.
Lisandro Damián Nicanor Pérez Meyer [Sun, 22 Mar 2026 19:00:57 +0000 (20:00 +0100)]
Enable skipping plugins search at build time.

Forwarded: not-needed

This patch sets
QT_SKIP_AUTO_PLUGIN_INCLUSION and QT_SKIP_AUTO_QML_PLUGIN_INCLUSION to ON
by default, thus avoiding unnecesary build dependencies on plugins.

The variables can still be set to OFF by the user at build time, allowing
them to find the packages if necessary. But if you need so for a Debian
package please reach the Qt maintainers first. We want to know why you
need to do so. Thanks in advance!

Gbp-Pq: Name enable_skip_plugins.patch

5 months agoChange how stack grows on HPPA.
John David Anglin [Sun, 22 Mar 2026 19:00:57 +0000 (20:00 +0100)]
Change how stack grows on HPPA.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28

On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.

Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch

5 months agoremove RPATH/RUNPATH from examples' binaries.
Lisandro Damián Nicanor Pérez Meyer [Sun, 22 Mar 2026 19:00:57 +0000 (20:00 +0100)]
remove RPATH/RUNPATH from examples' binaries.

Forwarded: not-needed
Last-Update: 2024-02-15

On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.

Gbp-Pq: Name remove_rpath_from_examples.patch

5 months agocross
Debian Qt/KDE Maintainers [Sun, 22 Mar 2026 19:00:57 +0000 (20:00 +0100)]
cross

Gbp-Pq: Name cross.patch

5 months ago[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.

The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.

https://reproducible-builds.org/docs/build-path/

Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch

5 months agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Sun, 22 Mar 2026 19:00:57 +0000 (20:00 +0100)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

5 months agoAdd SH description
John Paul Adrian Glaubitz [Sun, 22 Mar 2026 19:00:57 +0000 (20:00 +0100)]
Add SH description

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.

SH is working on Debian, so as an intermediate measure re enable it here.

Gbp-Pq: Name Add-SH-detection.patch

5 months ago[PATCH] rhi: vulkan: Fix unintentional SDR format selection
Joshua Goins [Tue, 10 Feb 2026 15:30:00 +0000 (10:30 -0500)]
[PATCH] rhi: vulkan: Fix unintentional SDR format selection

I needed to read back the swapchain image for my Vulkan RHI-enabled
QtQuick application, but it complained that
VK_FORMAT_A2R10G10B10_UNORM_PACK32 wasn't able to be read back - why?

My initial naive solution is to simply add it to the
swapchainReadbackTextureFormat function - but that wouldn't work as
there is no BGR10A2 RHI texture format and applications would unkowingly
end up with swapped channels. The actual problem came down to how we
were selecting swapchain image formats.

The first thing I changed was the hdrFormatMatchesVkSurfaceFormat
function, because that checked two formats for HDR10:
VK_FORMAT_A2B10G10R10_UNORM_PACK32 and
VK_FORMAT_A2R10G10B10_UNORM_PACK32. Checking the online Vulkan hardware
database, the BGR variant is more well-supported. Picking the RGB
variant is inevitably going to lead into the problem described before -
and should be added back when & if a new RHI texture format is
introduced.

The next thing I changed was the swapchain format selection logic,
specifically the choice for a non-sRGB SDR format. Judging by the
comments in this function and other RHIs like DX12 we *want* the default
color format of VK_FORMAT_B8G8R8A8_UNORM unless otherwise requested.
That isn't what was happening though, on my specific hardware it was
choosing VK_FORMAT_A2R10G10B10_UNORM_PACK32 - why?

It comes down to the isSrgbFormat check in the loop. Again, for the
non-SRGB SDR case the "srgbRequested" variable is always false. And when
a non-SRGB format (like the aforementioned problematic VkFormat) is
checked isSrgbFormat will return false, but I don't think that's what is
intended here. We want that for the sRGB case, but for non-SRGB SDR the
default color format is fine and that lines up with other RHIs
(see QD3D12SwapChain::chooseFormats for an example.) I checked this
inside the loop so the passthrough code is still ran on Wayland, but I
think the new logic is still sensible.

I tested this against the five usual cases I could think of and now the
format selection seems sensible:
* non-sRGB SDR chose VK_FORMAT_B8G8R8A8_UNORM
* sRGB SDR chose VK_FORMAT_R8G8B8A8_SRGB
* extended sRGB Linear chose VK_FORMAT_R16G16B16A16_SFLOAT
* HDR10 chose VK_FORMAT_A2B10G10R10_UNORM_PACK32
* Display P3 chose VK_FORMAT_R16G16B16A16_SFLOAT

Change-Id: Ie79e9fcaa1130311958b485af9b73c59d5d9a335
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
(cherry picked from commit 2dd1aa3678d541aef15b564b4013728ed5b0387b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit f4c5e54a8703944ec7ea005ad4de3072b86fd61f)

Gbp-Pq: Name upstream_hdr_vulkan.diff

5 months agoqt6-base (6.10.2+dfsg-6) unstable; urgency=medium
Patrick Franz [Sun, 22 Mar 2026 19:00:57 +0000 (20:00 +0100)]
qt6-base (6.10.2+dfsg-6) unstable; urgency=medium

  [ Patrick Franz ]
  * Revert moving private.pri files from qt6-base-dev to qt6-base-
    private-dev as this breaks many builds (Closes: #1131560).
  * Backport patch to fix HDR support while using the Vulkan renderer on
    certain hardware.

[dgit import unpatched qt6-base 6.10.2+dfsg-6]

5 months agoImport qt6-base_6.10.2+dfsg-6.debian.tar.xz
Patrick Franz [Sun, 22 Mar 2026 19:00:57 +0000 (20:00 +0100)]
Import qt6-base_6.10.2+dfsg-6.debian.tar.xz

[dgit import tarball qt6-base 6.10.2+dfsg-6 qt6-base_6.10.2+dfsg-6.debian.tar.xz]

7 months agoMerge version 6.9.2+dfsg-3+rpi1 and 6.9.2+dfsg-4 to produce 6.9.2+dfsg-4+rpi1 archive/raspbian/6.9.2+dfsg-4+rpi1 raspbian/6.9.2+dfsg-4+rpi1
Raspbian automatic forward porter [Sun, 8 Feb 2026 16:39:40 +0000 (16:39 +0000)]
Merge version 6.9.2+dfsg-3+rpi1 and 6.9.2+dfsg-4 to produce 6.9.2+dfsg-4+rpi1

7 months agoImport qt6-base_6.10.2+dfsg.orig.tar.xz
Patrick Franz [Sat, 31 Jan 2026 13:05:27 +0000 (14:05 +0100)]
Import qt6-base_6.10.2+dfsg.orig.tar.xz

[dgit import orig qt6-base_6.10.2+dfsg.orig.tar.xz]

7 months agoMerge qt6-base (6.9.2+dfsg-4) import into refs/heads/workingbranch
Patrick Franz [Thu, 29 Jan 2026 20:50:42 +0000 (21:50 +0100)]
Merge qt6-base (6.9.2+dfsg-4) import into refs/heads/workingbranch

7 months agoEnable skipping plugins search at build time.
Lisandro Damián Nicanor Pérez Meyer [Thu, 29 Jan 2026 20:50:42 +0000 (21:50 +0100)]
Enable skipping plugins search at build time.

Forwarded: not-needed

This patch sets
QT_SKIP_AUTO_PLUGIN_INCLUSION and QT_SKIP_AUTO_QML_PLUGIN_INCLUSION to ON
by default, thus avoiding unnecesary build dependencies on plugins.

The variables can still be set to OFF by the user at build time, allowing
them to find the packages if necessary. But if you need so for a Debian
package please reach the Qt maintainers first. We want to know why you
need to do so. Thanks in advance!

Gbp-Pq: Name enable_skip_plugins.patch

7 months agoChange how stack grows on HPPA.
John David Anglin [Thu, 29 Jan 2026 20:50:42 +0000 (21:50 +0100)]
Change how stack grows on HPPA.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28

On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.

Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch

7 months agoremove RPATH/RUNPATH from examples' binaries.
Lisandro Damián Nicanor Pérez Meyer [Thu, 29 Jan 2026 20:50:42 +0000 (21:50 +0100)]
remove RPATH/RUNPATH from examples' binaries.

Forwarded: not-needed
Last-Update: 2024-02-15

On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.

Gbp-Pq: Name remove_rpath_from_examples.patch

7 months agocross
Debian Qt/KDE Maintainers [Thu, 29 Jan 2026 20:50:42 +0000 (21:50 +0100)]
cross

Gbp-Pq: Name cross.patch

7 months ago[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.

The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.

https://reproducible-builds.org/docs/build-path/

Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch

7 months agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Thu, 29 Jan 2026 20:50:42 +0000 (21:50 +0100)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

7 months agoAdd SH description
John Paul Adrian Glaubitz [Thu, 29 Jan 2026 20:50:42 +0000 (21:50 +0100)]
Add SH description

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.

SH is working on Debian, so as an intermediate measure re enable it here.

Gbp-Pq: Name Add-SH-detection.patch

7 months agoqt6-base (6.9.2+dfsg-4) unstable; urgency=medium
Patrick Franz [Thu, 29 Jan 2026 20:50:42 +0000 (21:50 +0100)]
qt6-base (6.9.2+dfsg-4) unstable; urgency=medium

  [ Pino Toscano ]
  * The armel, mips64el, and mipsel architectures were discontinued, so:
    - drop the architectures from libqt6sql6-ibase
    - drop the architecture markers in install files, and symbols files
    - drop the patch armv4.diff, specific to armel when building Qt software
      using clang older than 17

[dgit import unpatched qt6-base 6.9.2+dfsg-4]

7 months agoImport qt6-base_6.9.2+dfsg-4.debian.tar.xz
Patrick Franz [Thu, 29 Jan 2026 20:50:42 +0000 (21:50 +0100)]
Import qt6-base_6.9.2+dfsg-4.debian.tar.xz

[dgit import tarball qt6-base 6.9.2+dfsg-4 qt6-base_6.9.2+dfsg-4.debian.tar.xz]

7 months agoMerge version 6.8.2+dfsg-9+rpi1 and 6.9.2+dfsg-3 to produce 6.9.2+dfsg-3+rpi1 archive/raspbian/6.9.2+dfsg-3+rpi1 raspbian/6.9.2+dfsg-3+rpi1
Raspbian automatic forward porter [Thu, 22 Jan 2026 21:23:25 +0000 (21:23 +0000)]
Merge version 6.8.2+dfsg-9+rpi1 and 6.9.2+dfsg-3 to produce 6.9.2+dfsg-3+rpi1

10 months agoMerge qt6-base (6.9.2+dfsg-3) import into refs/heads/workingbranch
Patrick Franz [Sat, 25 Oct 2025 12:34:36 +0000 (14:34 +0200)]
Merge qt6-base (6.9.2+dfsg-3) import into refs/heads/workingbranch

10 months agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Sat, 25 Oct 2025 12:34:36 +0000 (14:34 +0200)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

10 months agoEnable skipping plugins search at build time.
Lisandro Damián Nicanor Pérez Meyer [Sat, 25 Oct 2025 12:34:36 +0000 (14:34 +0200)]
Enable skipping plugins search at build time.

Forwarded: not-needed

This patch sets
QT_SKIP_AUTO_PLUGIN_INCLUSION and QT_SKIP_AUTO_QML_PLUGIN_INCLUSION to ON
by default, thus avoiding unnecesary build dependencies on plugins.

The variables can still be set to OFF by the user at build time, allowing
them to find the packages if necessary. But if you need so for a Debian
package please reach the Qt maintainers first. We want to know why you
need to do so. Thanks in advance!

Gbp-Pq: Name enable_skip_plugins.patch

10 months agoChange how stack grows on HPPA.
John David Anglin [Sat, 25 Oct 2025 12:34:36 +0000 (14:34 +0200)]
Change how stack grows on HPPA.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28

On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.

Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch

10 months agoremove RPATH/RUNPATH from examples' binaries.
Lisandro Damián Nicanor Pérez Meyer [Sat, 25 Oct 2025 12:34:36 +0000 (14:34 +0200)]
remove RPATH/RUNPATH from examples' binaries.

Forwarded: not-needed
Last-Update: 2024-02-15

On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.

Gbp-Pq: Name remove_rpath_from_examples.patch

10 months agocross
Debian Qt/KDE Maintainers [Sat, 25 Oct 2025 12:34:36 +0000 (14:34 +0200)]
cross

Gbp-Pq: Name cross.patch

10 months ago[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.

The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.

https://reproducible-builds.org/docs/build-path/

Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch

10 months agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Sat, 25 Oct 2025 12:34:36 +0000 (14:34 +0200)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

10 months agoAdd SH description
John Paul Adrian Glaubitz [Sat, 25 Oct 2025 12:34:36 +0000 (14:34 +0200)]
Add SH description

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.

SH is working on Debian, so as an intermediate measure re enable it here.

Gbp-Pq: Name Add-SH-detection.patch

10 months agoqt6-base (6.9.2+dfsg-3) unstable; urgency=medium
Patrick Franz [Sat, 25 Oct 2025 12:34:36 +0000 (14:34 +0200)]
qt6-base (6.9.2+dfsg-3) unstable; urgency=medium

  [ Patrick Franz ]
  * Enable ccache only whhen build in corresponding build profile.
  * Drop Rules-Requires-Root: no, not needed any more.

[dgit import unpatched qt6-base 6.9.2+dfsg-3]

10 months agoImport qt6-base_6.9.2+dfsg-3.debian.tar.xz
Patrick Franz [Sat, 25 Oct 2025 12:34:36 +0000 (14:34 +0200)]
Import qt6-base_6.9.2+dfsg-3.debian.tar.xz

[dgit import tarball qt6-base 6.9.2+dfsg-3 qt6-base_6.9.2+dfsg-3.debian.tar.xz]

12 months agoImport qt6-base_6.9.2+dfsg.orig.tar.xz
Patrick Franz [Wed, 3 Sep 2025 21:08:25 +0000 (23:08 +0200)]
Import qt6-base_6.9.2+dfsg.orig.tar.xz

[dgit import orig qt6-base_6.9.2+dfsg.orig.tar.xz]

13 months agoMerge version 6.8.2+dfsg-7+rpi1 and 6.8.2+dfsg-9 to produce 6.8.2+dfsg-9+rpi1 archive/raspbian/6.8.2+dfsg-9+rpi1 raspbian/6.8.2+dfsg-9+rpi1
Raspbian automatic forward porter [Wed, 30 Jul 2025 16:12:54 +0000 (17:12 +0100)]
Merge version 6.8.2+dfsg-7+rpi1 and 6.8.2+dfsg-9 to produce 6.8.2+dfsg-9+rpi1

13 months agoMerge qt6-base (6.8.2+dfsg-9) import into refs/heads/workingbranch
Patrick Franz [Fri, 18 Jul 2025 13:28:20 +0000 (15:28 +0200)]
Merge qt6-base (6.8.2+dfsg-9) import into refs/heads/workingbranch

13 months agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Fri, 18 Jul 2025 13:28:20 +0000 (15:28 +0200)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

13 months agoEnable skipping plugins search at build time.
Lisandro Damián Nicanor Pérez Meyer [Fri, 18 Jul 2025 13:28:20 +0000 (15:28 +0200)]
Enable skipping plugins search at build time.

Forwarded: not-needed

This patch sets
QT_SKIP_AUTO_PLUGIN_INCLUSION and QT_SKIP_AUTO_QML_PLUGIN_INCLUSION to ON
by default, thus avoiding unnecesary build dependencies on plugins.

The variables can still be set to OFF by the user at build time, allowing
them to find the packages if necessary. But if you need so for a Debian
package please reach the Qt maintainers first. We want to know why you
need to do so. Thanks in advance!

Gbp-Pq: Name enable_skip_plugins.patch

13 months agoChange how stack grows on HPPA.
John David Anglin [Fri, 18 Jul 2025 13:28:20 +0000 (15:28 +0200)]
Change how stack grows on HPPA.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28

On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.

Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch

13 months agoremove RPATH/RUNPATH from examples' binaries.
Lisandro Damián Nicanor Pérez Meyer [Fri, 18 Jul 2025 13:28:20 +0000 (15:28 +0200)]
remove RPATH/RUNPATH from examples' binaries.

Forwarded: not-needed
Last-Update: 2024-02-15

On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.

Gbp-Pq: Name remove_rpath_from_examples.patch

13 months agocross
Debian Qt/KDE Maintainers [Fri, 18 Jul 2025 13:28:20 +0000 (15:28 +0200)]
cross

Gbp-Pq: Name cross.patch

13 months ago[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.

The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.

https://reproducible-builds.org/docs/build-path/

Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch

13 months agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Fri, 18 Jul 2025 13:28:20 +0000 (15:28 +0200)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

13 months agoAdd SH description
John Paul Adrian Glaubitz [Fri, 18 Jul 2025 13:28:20 +0000 (15:28 +0200)]
Add SH description

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.

SH is working on Debian, so as an intermediate measure re enable it here.

Gbp-Pq: Name Add-SH-detection.patch

13 months ago[PATCH] rely on CUPS for multiple page ranges in unix version of QPrintDialog
Alexander Stippich [Wed, 26 Feb 2025 19:46:04 +0000 (20:46 +0100)]
[PATCH] rely on CUPS for multiple page ranges in unix version of QPrintDialog

Since the introduction of QPageRanges with Qt6, multiple/arbitrary page
ranges are broken in the unix implementation of QPrintDialog due to a
possible double application of the page ranges: on the application side
and on the server side with CUPS. Reason for this is that the
QPrinter::PrintRange is set to PageRange instead of AllPages.
The latter is needed when relying on the CUPS server-side page range.
However, the server-side page range is always applied later on.

Restore the behavior of Qt5 and set the PrintRange to AllPages for
multiple/arbitrary page ranges and rely on the server-side filtering
with CUPS.

Change-Id: I1b85552a8cf2509b11a81db028f957584043f3ee
Reviewed-by: Albert Astals Cid <aacid@kde.org>
Reviewed-by: David Faure <david.faure@kdab.com>
(cherry picked from commit 2428cbf44e3e2aa4eaf00c9548ac5a74685101c4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit b630ed4ef8c7ae43c8ab2a8826d664995cc8b685)

Gbp-Pq: Name upstream_cups_for_multiple_page_ranges.diff

13 months ago[PATCH] GUI: no need to unregister input device if list is destroyed
Thiago Macieira [Mon, 17 Feb 2025 19:16:55 +0000 (20:16 +0100)]
[PATCH] GUI: no need to unregister input device if list is destroyed

Fixes: QTBUG-133776
Change-Id: If4a148e3ebf753ccd661a5ed1b321dbd7751576e
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit 1040728e39b8b898d6e96b79a4c7bfcd0cb3f027)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 6ad615cd1218a9b7f4204c04288ae2d6ed6c232b)

Gbp-Pq: Name upstream_prevent_unregistering_input_device.diff

13 months ago[PATCH] QLibraryInfo: speed up checking if ":/qt/etc/qt.conf" resource exists
Thiago Macieira [Fri, 24 Jan 2025 19:07:58 +0000 (11:07 -0800)]
[PATCH] QLibraryInfo: speed up checking if ":/qt/etc/qt.conf" resource exists

Go straight for QResource, because this is run very early in Qt's
initialization, usually as a result of some debug message, via
QLoggingRegistry::initializeRules(). This bypasses the need to create
QResourceFileEnginePrivate, QResourceFileEngine, QFileInfoPrivate, and
QFileInfo, all of which would end up in this .isValid() call.

Additionally, I'm making it query in the C locale, which will also avoid
initializing the system & default QLocales. If a resource exists in any
language, the C locale query will find it.

Task-number: QTBUG-133206
Change-Id: I434b498903d793c12d35fffd3e297bfdbdc1b6fe
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit d59e640c868f3db2d661970f3d34a22013d49053)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit ae2502b4ad3d1215211bf4ed44037a40f52a313d)

Gbp-Pq: Name upstream_qlibraryinfo_speedup.patch

13 months ago[PATCH] QSystemLocale: bail out if accessed post-destruction
Thiago Macieira [Fri, 24 Jan 2025 18:28:30 +0000 (10:28 -0800)]
[PATCH] QSystemLocale: bail out if accessed post-destruction

There's little we can do, but a lot of content ends up in QLocale very
late in the execution. Let's at least not crash.

Task-number: QTBUG-133206
Change-Id: I77d41141cb115147f9befffdd5e69dac19c96044
Reviewed-by: Albert Astals Cid <aacid@kde.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit e32f28034ad2383393645777bcd96eab3f696076)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit d5c5f9f3529b384d0d4bea2d51f0ad6a3d57481d)

Gbp-Pq: Name upstream_qsystemlocale_post_destruction_access.patch

13 months ago[PATCH] QLocale: try to survive being created during application shut down
Thiago Macieira [Fri, 24 Jan 2025 18:43:38 +0000 (10:43 -0800)]
[PATCH] QLocale: try to survive being created during application shut down

QLocale is very often accessed during global static destructors, so
let's try and survive if the default has already been destroyed. In that
case, we shall fall back to the C locale.

I've placed the call to systemData(), which updates the system locale,
before the initialization of defaultLocalePrivate, as the initialization
of the latter depends on the former.

Task-number: QTBUG-133206
Change-Id: I48e29b45f9be4514336cfffdf5affa5631a956a3
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Albert Astals Cid <aacid@kde.org>
(cherry picked from commit e0a1f491567f2495443babc5aa36a038260f96c6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit bcc0e6124a2ec80df535178d056324433f9ff984)

Gbp-Pq: Name upstream_qlocale_shutdown.patch

13 months ago[PATCH] QOpenGlContext: Always unset current context in doneCurrent()
David Redondo [Wed, 15 Jan 2025 12:52:13 +0000 (13:52 +0100)]
[PATCH] QOpenGlContext: Always unset current context in doneCurrent()

Otherwise when no other context is made current until thread exit, the
QGuiGLThreadContext destructor will try to call doneCurrent() on an
already deleted context.

Change-Id: If55dd69a72b8ab4012780a449f6a02729dd0ed43
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
(cherry picked from commit cd1686e55f706048286cbc962bbe02032c2396cd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 10c195b86432eaa430c6991c0fcb74c411407cdf)

Gbp-Pq: Name upstream_unset_current_openglcontext.diff

13 months agoqDecodeDataUrl(): fix precondition violation in call to QByteArrayView::at()
Debian Qt/KDE Maintainers [Fri, 18 Jul 2025 13:28:20 +0000 (15:28 +0200)]
qDecodeDataUrl(): fix precondition violation in call to QByteArrayView::at()

Origin: upstream, https://download.qt.io/official_releases/qt/6.8/CVE-2025-5455-qtbase-6.8.patch
Last-Update: 2025-06-29

It is a precondition violation to call QByteArrayView::at() with
size() as argument. The code used that, though, as an implicit
end-of-string check, assuming == ' ' and == '=' would both fail for
null bytes. Besides, QByteArrays (but most certainly QByteArrayViews)
need not be null-terminated, so this could read even past size().

To fix, use higher-level API (startsWith()), consuming parsed tokens
along the way.

Gbp-Pq: Name upstream_cve-2025-5455_fix_data_assertion_error.diff

13 months ago[PATCH] QTextMarkdownImporter: Fix heap-buffer-overflow
Shawn Rutledge [Thu, 27 Mar 2025 14:17:21 +0000 (15:17 +0100)]
[PATCH] QTextMarkdownImporter: Fix heap-buffer-overflow

After finding the end marker `---`, the code expected more characters
beyond: typically at least a trailing newline. But QStringView::sliced()
crashes if asked for a substring that starts at or beyond the end.

Now it's restructured into a separate splitFrontMatter() function, and
we're stricter, tolerating only `---\n` or `---\r\n` as marker lines.
So the code is easier to prove correct, and we don't need to check
characters between the end of the marker and the end of the line
(to allow inadvertent whitespace, for example). If the markers are
not valid, the Markdown parser will see them as thematic breaks,
as it would have done if we were not extracting the Front Matter
beforehand.

Amends e10c9b5c0f8f194a79ce12dcf9b6b5cb19976942 and
bffddc6a993c4b6b64922e8d327bdf32e0d4975a

Credit to OSS-Fuzz which found this as issue 42533775.

[ChangeLog][QtGui][Text] Fixed a heap buffer overflow in
QTextMarkdownImporter. The first marker for Front Matter
must begin at the first character of a Markdown document,
and both markers must be exactly ---\n or ---\r\n.

Done-with: Marc Mutz <marc.mutz@qt.io>
Fixes: QTBUG-135284
Change-Id: I66412d21ecc0c4eabde443d70865ed2abad86d89
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 25986746947798e1a22d0830d3bcb11a55fcd3ae)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit eced22d7250fc7ba4dbafa1694bf149c2259d9ea)
(cherry picked from commit 9e59a924a04606c386b970ee6c9c7819cdd7ae1a)

Gbp-Pq: Name upstream_cve-2025-3512_fix_heap_buffer_overflow.diff

13 months ago[PATCH] QStorageInfo/Unix: fix declaration of 'mnt' on Hurd
Pino Toscano [Sun, 6 Oct 2024 07:40:14 +0000 (09:40 +0200)]
[PATCH] QStorageInfo/Unix: fix declaration of 'mnt' on Hurd

Directly use the right type for it, after the Linux code was dropped.
Fixes commit 543ae6e6a43519b9fca6758c4a8c78625fcb2c86.

Change-Id: I1417853153d2851262f40713b3318f0dae09c391
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_QStorageInfo-Unix-fix-declaration-of-mnt-on-Hurd.patch

13 months ago[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH
Pino Toscano [Sat, 22 Jun 2024 17:55:15 +0000 (19:55 +0200)]
[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH

Define MAX_PATH also when PATH_MAX is not defined (e.g on GNU/Hurd).
MAX_PATH is Windows constant, and it is used in this file only in a
code path for Windows; because of this, the static fallback define
should be good enough.

Change-Id: Ic1b9fee3b62505f86aa8ec89bbd20493bfe1f67c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_IPC-add-PATH_MAX-less-fallback-definition-for-MAX_PA.patch

13 months ago[PATCH] QSortFilterProxyModel: don't call index(row, 0) if there are no columns
David Faure [Mon, 3 Mar 2025 18:14:59 +0000 (19:14 +0100)]
[PATCH] QSortFilterProxyModel: don't call index(row, 0) if there are no columns

This is invalid, e.g. it asserts in
QConcatenateTablesProxyModel::index()

Fixes: QTBUG-134210
Change-Id: I21acad9497d423b0366991296e8dd498d51395ea
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 93694e99c214a5166fc842f92659e42260230dce)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Gbp-Pq: Name upstream_prevent_recursion_in_qsortfilterproxymodel.diff

13 months ago[PATCH] Add clamping to QColorTransferGenericFunction
Samuel Gaist [Sat, 24 May 2025 19:07:37 +0000 (21:07 +0200)]
[PATCH] Add clamping to QColorTransferGenericFunction

This ensures that the inputs are within range for the use of these
function.

Depending on the values passed, they can trigger FE_INVALID errors
and thus NaN as return values.

This can happen for example when feeding an invalid ICC profile to
QColorSpace::fromIccProfile.

Credit to OSS-Fuzz

Fixes: QTBUG-137159
Origin: upstream, https://download.qt.io/official_releases/qt/6.8/CVE-2025-5992-qtbase-6.8.patch

Gbp-Pq: Name upstream_cve-2025-5992_input_range_qcolortransformation.diff

13 months ago[PATCH] QColorTransferGeneric: fix the BT.2100 PQ EOTF
Giuseppe D'Angelo [Thu, 6 Feb 2025 20:00:55 +0000 (21:00 +0100)]
[PATCH] QColorTransferGeneric: fix the BT.2100 PQ EOTF

The PQ EOTF formula for BT.2100 [1][2] was incorrect. Fix it; while at
it, rename the variables to match the symbols used in the original
formula.

The inverse EOTF was correct, but also rename the variables there (for
the same reason).

[1] https://www.itu.int/rec/R-REC-BT.2100-2-201807-I/en
[2] https://en.wikipedia.org/wiki/Perceptual_quantizer#Technical_details

Change-Id: I6ce3a609824bee82053a16b3ff3cfc7cb396ce8f
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit a7ff4679facb9a44dff8b63a7e461ababa6aedfb)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 35c18eba64b6220e36ea14d32b911342e9d0921c)
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Gbp-Pq: Name upstream_QColorTransferGeneric_fix_BT2100PQEOTF.patch

13 months agoqt6-base (6.8.2+dfsg-9) unstable; urgency=medium
Patrick Franz [Fri, 18 Jul 2025 13:28:20 +0000 (15:28 +0200)]
qt6-base (6.8.2+dfsg-9) unstable; urgency=medium

  [ Patrick Franz ]
  * Backport patch to fix the PQ EOTF formula for BT.2100. This patch is
    needed to make the patch for CVE-2025-5992 applicable.
  * Backport patch to fix CVE-2025-5992 (Closes: #1109299).

[dgit import unpatched qt6-base 6.8.2+dfsg-9]

13 months agoImport qt6-base_6.8.2+dfsg-9.debian.tar.xz
Patrick Franz [Fri, 18 Jul 2025 13:28:20 +0000 (15:28 +0200)]
Import qt6-base_6.8.2+dfsg-9.debian.tar.xz

[dgit import tarball qt6-base 6.8.2+dfsg-9 qt6-base_6.8.2+dfsg-9.debian.tar.xz]

14 months agoMerge version 6.8.2+dfsg-6+rpi1 and 6.8.2+dfsg-7 to produce 6.8.2+dfsg-7+rpi1 archive/raspbian/6.8.2+dfsg-7+rpi1 raspbian/6.8.2+dfsg-7+rpi1
Raspbian automatic forward porter [Fri, 4 Jul 2025 10:35:00 +0000 (11:35 +0100)]
Merge version 6.8.2+dfsg-6+rpi1 and 6.8.2+dfsg-7 to produce 6.8.2+dfsg-7+rpi1

14 months agoMerge qt6-base (6.8.2+dfsg-7) import into refs/heads/workingbranch
Patrick Franz [Thu, 19 Jun 2025 22:08:21 +0000 (00:08 +0200)]
Merge qt6-base (6.8.2+dfsg-7) import into refs/heads/workingbranch

14 months agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Thu, 19 Jun 2025 22:08:21 +0000 (00:08 +0200)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff

14 months agoEnable skipping plugins search at build time.
Lisandro Damián Nicanor Pérez Meyer [Thu, 19 Jun 2025 22:08:21 +0000 (00:08 +0200)]
Enable skipping plugins search at build time.

Forwarded: not-needed

This patch sets
QT_SKIP_AUTO_PLUGIN_INCLUSION and QT_SKIP_AUTO_QML_PLUGIN_INCLUSION to ON
by default, thus avoiding unnecesary build dependencies on plugins.

The variables can still be set to OFF by the user at build time, allowing
them to find the packages if necessary. But if you need so for a Debian
package please reach the Qt maintainers first. We want to know why you
need to do so. Thanks in advance!

Gbp-Pq: Name enable_skip_plugins.patch

14 months agoChange how stack grows on HPPA.
John David Anglin [Thu, 19 Jun 2025 22:08:21 +0000 (00:08 +0200)]
Change how stack grows on HPPA.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042018
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Last-Update: 2023-07-28

On HPPA stack grows upwards. This patch introduces this change for
this 3rd party code.

Gbp-Pq: Name forkfd_grow_stack_upwards_on_hppa.patch

14 months agoremove RPATH/RUNPATH from examples' binaries.
Lisandro Damián Nicanor Pérez Meyer [Thu, 19 Jun 2025 22:08:21 +0000 (00:08 +0200)]
remove RPATH/RUNPATH from examples' binaries.

Forwarded: not-needed
Last-Update: 2024-02-15

On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.

Gbp-Pq: Name remove_rpath_from_examples.patch

14 months agocross
Debian Qt/KDE Maintainers [Thu, 19 Jun 2025 22:08:21 +0000 (00:08 +0200)]
cross

Gbp-Pq: Name cross.patch

14 months ago[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.
Vagrant Cascadian [Fri, 25 Feb 2022 03:00:05 +0000 (03:00 +0000)]
[PATCH] cmake/QtBuildInternalsExtra.cmake.in: Patch out embedded build path.

The original build path should not be needed in the shipped package,
and causes reproducibility issues when built in different paths.

https://reproducible-builds.org/docs/build-path/

Gbp-Pq: Name build_path_embedded_qtbuildinternalsextra_cmake.patch

14 months agoremove non-used privacy-breach code
Lisandro Damián Nicanor Pérez Meyer [Thu, 19 Jun 2025 22:08:21 +0000 (00:08 +0200)]
remove non-used privacy-breach code

Forwarded: not-needed
Last-Update: 2015-02-18

This code makes Lintian unhappy. But we are really not using it, it only
gets inserted when building the online doc.
Anyways the best way to calm down Lintian is to simply remove it.

Gbp-Pq: Name remove_privacy_breaches.diff

14 months agoAdd SH description
John Paul Adrian Glaubitz [Thu, 19 Jun 2025 22:08:21 +0000 (00:08 +0200)]
Add SH description

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043225
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Upstream processes archs from time to time and tends to disable those that
they do not know wether they are working or not.

SH is working on Debian, so as an intermediate measure re enable it here.

Gbp-Pq: Name Add-SH-detection.patch

14 months ago[PATCH] rely on CUPS for multiple page ranges in unix version of QPrintDialog
Alexander Stippich [Wed, 26 Feb 2025 19:46:04 +0000 (20:46 +0100)]
[PATCH] rely on CUPS for multiple page ranges in unix version of QPrintDialog

Since the introduction of QPageRanges with Qt6, multiple/arbitrary page
ranges are broken in the unix implementation of QPrintDialog due to a
possible double application of the page ranges: on the application side
and on the server side with CUPS. Reason for this is that the
QPrinter::PrintRange is set to PageRange instead of AllPages.
The latter is needed when relying on the CUPS server-side page range.
However, the server-side page range is always applied later on.

Restore the behavior of Qt5 and set the PrintRange to AllPages for
multiple/arbitrary page ranges and rely on the server-side filtering
with CUPS.

Change-Id: I1b85552a8cf2509b11a81db028f957584043f3ee
Reviewed-by: Albert Astals Cid <aacid@kde.org>
Reviewed-by: David Faure <david.faure@kdab.com>
(cherry picked from commit 2428cbf44e3e2aa4eaf00c9548ac5a74685101c4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit b630ed4ef8c7ae43c8ab2a8826d664995cc8b685)

Gbp-Pq: Name upstream_cups_for_multiple_page_ranges.diff

14 months ago[PATCH] GUI: no need to unregister input device if list is destroyed
Thiago Macieira [Mon, 17 Feb 2025 19:16:55 +0000 (20:16 +0100)]
[PATCH] GUI: no need to unregister input device if list is destroyed

Fixes: QTBUG-133776
Change-Id: If4a148e3ebf753ccd661a5ed1b321dbd7751576e
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
(cherry picked from commit 1040728e39b8b898d6e96b79a4c7bfcd0cb3f027)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 6ad615cd1218a9b7f4204c04288ae2d6ed6c232b)

Gbp-Pq: Name upstream_prevent_unregistering_input_device.diff

14 months ago[PATCH] QLibraryInfo: speed up checking if ":/qt/etc/qt.conf" resource exists
Thiago Macieira [Fri, 24 Jan 2025 19:07:58 +0000 (11:07 -0800)]
[PATCH] QLibraryInfo: speed up checking if ":/qt/etc/qt.conf" resource exists

Go straight for QResource, because this is run very early in Qt's
initialization, usually as a result of some debug message, via
QLoggingRegistry::initializeRules(). This bypasses the need to create
QResourceFileEnginePrivate, QResourceFileEngine, QFileInfoPrivate, and
QFileInfo, all of which would end up in this .isValid() call.

Additionally, I'm making it query in the C locale, which will also avoid
initializing the system & default QLocales. If a resource exists in any
language, the C locale query will find it.

Task-number: QTBUG-133206
Change-Id: I434b498903d793c12d35fffd3e297bfdbdc1b6fe
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit d59e640c868f3db2d661970f3d34a22013d49053)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit ae2502b4ad3d1215211bf4ed44037a40f52a313d)

Gbp-Pq: Name upstream_qlibraryinfo_speedup.patch

14 months ago[PATCH] QSystemLocale: bail out if accessed post-destruction
Thiago Macieira [Fri, 24 Jan 2025 18:28:30 +0000 (10:28 -0800)]
[PATCH] QSystemLocale: bail out if accessed post-destruction

There's little we can do, but a lot of content ends up in QLocale very
late in the execution. Let's at least not crash.

Task-number: QTBUG-133206
Change-Id: I77d41141cb115147f9befffdd5e69dac19c96044
Reviewed-by: Albert Astals Cid <aacid@kde.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit e32f28034ad2383393645777bcd96eab3f696076)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit d5c5f9f3529b384d0d4bea2d51f0ad6a3d57481d)

Gbp-Pq: Name upstream_qsystemlocale_post_destruction_access.patch

14 months ago[PATCH] QLocale: try to survive being created during application shut down
Thiago Macieira [Fri, 24 Jan 2025 18:43:38 +0000 (10:43 -0800)]
[PATCH] QLocale: try to survive being created during application shut down

QLocale is very often accessed during global static destructors, so
let's try and survive if the default has already been destroyed. In that
case, we shall fall back to the C locale.

I've placed the call to systemData(), which updates the system locale,
before the initialization of defaultLocalePrivate, as the initialization
of the latter depends on the former.

Task-number: QTBUG-133206
Change-Id: I48e29b45f9be4514336cfffdf5affa5631a956a3
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Albert Astals Cid <aacid@kde.org>
(cherry picked from commit e0a1f491567f2495443babc5aa36a038260f96c6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit bcc0e6124a2ec80df535178d056324433f9ff984)

Gbp-Pq: Name upstream_qlocale_shutdown.patch

14 months ago[PATCH] QOpenGlContext: Always unset current context in doneCurrent()
David Redondo [Wed, 15 Jan 2025 12:52:13 +0000 (13:52 +0100)]
[PATCH] QOpenGlContext: Always unset current context in doneCurrent()

Otherwise when no other context is made current until thread exit, the
QGuiGLThreadContext destructor will try to call doneCurrent() on an
already deleted context.

Change-Id: If55dd69a72b8ab4012780a449f6a02729dd0ed43
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
(cherry picked from commit cd1686e55f706048286cbc962bbe02032c2396cd)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 10c195b86432eaa430c6991c0fcb74c411407cdf)

Gbp-Pq: Name upstream_unset_current_openglcontext.diff

14 months ago[PATCH] QTextMarkdownImporter: Fix heap-buffer-overflow
Shawn Rutledge [Thu, 27 Mar 2025 14:17:21 +0000 (15:17 +0100)]
[PATCH] QTextMarkdownImporter: Fix heap-buffer-overflow

After finding the end marker `---`, the code expected more characters
beyond: typically at least a trailing newline. But QStringView::sliced()
crashes if asked for a substring that starts at or beyond the end.

Now it's restructured into a separate splitFrontMatter() function, and
we're stricter, tolerating only `---\n` or `---\r\n` as marker lines.
So the code is easier to prove correct, and we don't need to check
characters between the end of the marker and the end of the line
(to allow inadvertent whitespace, for example). If the markers are
not valid, the Markdown parser will see them as thematic breaks,
as it would have done if we were not extracting the Front Matter
beforehand.

Amends e10c9b5c0f8f194a79ce12dcf9b6b5cb19976942 and
bffddc6a993c4b6b64922e8d327bdf32e0d4975a

Credit to OSS-Fuzz which found this as issue 42533775.

[ChangeLog][QtGui][Text] Fixed a heap buffer overflow in
QTextMarkdownImporter. The first marker for Front Matter
must begin at the first character of a Markdown document,
and both markers must be exactly ---\n or ---\r\n.

Done-with: Marc Mutz <marc.mutz@qt.io>
Fixes: QTBUG-135284
Change-Id: I66412d21ecc0c4eabde443d70865ed2abad86d89
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 25986746947798e1a22d0830d3bcb11a55fcd3ae)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit eced22d7250fc7ba4dbafa1694bf149c2259d9ea)
(cherry picked from commit 9e59a924a04606c386b970ee6c9c7819cdd7ae1a)

Gbp-Pq: Name upstream_cve-2025-3512_fix_heap_buffer_overflow.diff

14 months ago[PATCH] QStorageInfo/Unix: fix declaration of 'mnt' on Hurd
Pino Toscano [Sun, 6 Oct 2024 07:40:14 +0000 (09:40 +0200)]
[PATCH] QStorageInfo/Unix: fix declaration of 'mnt' on Hurd

Directly use the right type for it, after the Linux code was dropped.
Fixes commit 543ae6e6a43519b9fca6758c4a8c78625fcb2c86.

Change-Id: I1417853153d2851262f40713b3318f0dae09c391
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_QStorageInfo-Unix-fix-declaration-of-mnt-on-Hurd.patch

14 months ago[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH
Pino Toscano [Sat, 22 Jun 2024 17:55:15 +0000 (19:55 +0200)]
[PATCH] IPC: add PATH_MAX-less fallback definition for MAX_PATH

Define MAX_PATH also when PATH_MAX is not defined (e.g on GNU/Hurd).
MAX_PATH is Windows constant, and it is used in this file only in a
code path for Windows; because of this, the static fallback define
should be good enough.

Change-Id: Ic1b9fee3b62505f86aa8ec89bbd20493bfe1f67c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Gbp-Pq: Name upstream_IPC-add-PATH_MAX-less-fallback-definition-for-MAX_PA.patch

14 months ago[PATCH] QSortFilterProxyModel: don't call index(row, 0) if there are no columns
David Faure [Mon, 3 Mar 2025 18:14:59 +0000 (19:14 +0100)]
[PATCH] QSortFilterProxyModel: don't call index(row, 0) if there are no columns

This is invalid, e.g. it asserts in
QConcatenateTablesProxyModel::index()

Fixes: QTBUG-134210
Change-Id: I21acad9497d423b0366991296e8dd498d51395ea
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 93694e99c214a5166fc842f92659e42260230dce)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Gbp-Pq: Name upstream_prevent_recursion_in_qsortfilterproxymodel.diff

14 months agoqt6-base (6.8.2+dfsg-7) unstable; urgency=medium
Patrick Franz [Thu, 19 Jun 2025 22:08:21 +0000 (00:08 +0200)]
qt6-base (6.8.2+dfsg-7) unstable; urgency=medium

  [ Patrick Franz ]
  * Backport patch to prevent unregistering an input device if the list
    is destroyed (Closes: 1108018).
  * Backport patch to rely on CUPS for multiple page ranges (Closes:
    #1108026).

[dgit import unpatched qt6-base 6.8.2+dfsg-7]

14 months agoImport qt6-base_6.8.2+dfsg-7.debian.tar.xz
Patrick Franz [Thu, 19 Jun 2025 22:08:21 +0000 (00:08 +0200)]
Import qt6-base_6.8.2+dfsg-7.debian.tar.xz

[dgit import tarball qt6-base 6.8.2+dfsg-7 qt6-base_6.8.2+dfsg-7.debian.tar.xz]

16 months agoMerge version 6.8.2+dfsg-5+rpi1 and 6.8.2+dfsg-6 to produce 6.8.2+dfsg-6+rpi1 archive/raspbian/6.8.2+dfsg-6+rpi1 raspbian/6.8.2+dfsg-6+rpi1
Raspbian automatic forward porter [Mon, 28 Apr 2025 02:28:33 +0000 (03:28 +0100)]
Merge version 6.8.2+dfsg-5+rpi1 and 6.8.2+dfsg-6 to produce 6.8.2+dfsg-6+rpi1

17 months agoMerge qt6-base (6.8.2+dfsg-6) import into refs/heads/workingbranch
Patrick Franz [Wed, 16 Apr 2025 19:33:04 +0000 (21:33 +0200)]
Merge qt6-base (6.8.2+dfsg-6) import into refs/heads/workingbranch

17 months agosupport ARMv4 architecture, needed for armel builds
Dmitry Shachnev [Wed, 16 Apr 2025 19:33:04 +0000 (21:33 +0200)]
support ARMv4 architecture, needed for armel builds

Forwarded: no
Last-Update: 2016-07-01

Gbp-Pq: Name armv4.diff